{extend name="template/base_default"}
{block name="header"}
<link rel="stylesheet" href="__CSS__/common.css">
<link rel="stylesheet" href="__CSS__/product_detail/index.css">
{/block}
{block name="body"}

<div class="product-detail-body">
    <div class="weui-tab">

        <div class="weui-tab__bd">
            <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
                <div class="product-detail-box">
                    <div class="swiper-img-box"><img src="{:getImgUrl($detail['img_main']['img_id'])}"></div>



                    <div class="product-detail title">{$detail.name}</div>
                    <div class="product-detail content">{$detail.synopsis}</div>
                    <div class="product-detail money">
                        <div><span>{$detail.price}积分</span></div>

                    </div>
                    <div class="product-detail money">
                        {volist name="detail.img_follow" id="pic"}
                        <li style="list-style-type: none"><img style="width:100%" src="{:getImgUrl($pic['img_id'])}" ></li>
                        {/volist}



                    </div>



                </div>

                <div class="product-detail btn">
                    <a href="{:url('order/checkout',array('pid'=>$detail['id']))}"><button class="product-detail-btn1">立即兑换</button></a>

                </div>
            </div>

        </div>
    </div>
</div>
<div class="product-detail selected-area-cover"></div>

{/block}
</body>
</html>